import React, { PureComponent } from 'react';
import { connect } from 'dva';
import { Card, Table } from 'antd';


class List extends PureComponent {
    componentDidMount() {

    }

    componentWillUnmount() {

    }

    render() {
        const list = [];
        const columns = [{
            title: '姓名',
            dataIndex: 'name',
            key: 'name',
        }, {
            title: '值',
            dataIndex: 'value',
            key: 'value',
        }, {
            title: '类型',
            dataIndex: 'type',
            key: 'type',
        }];

        return (<div style={{ background: '#ECECEC', padding: '30px' }}>
            <Card title="标题" bordered={false}>
                <Table
                    dataSource={list}
                    columns={columns}
                />
            </Card>
        </div>);
    }
}

export default List;